package com.rd.student.jike.class2.lihongming.week724_730.Day727;

import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;

/**
 * @Auther:Heinrich
 * @Date:2023/7/27-07-27-16:27
 * @Description:c230727
 * @version:1.0
 */
public class Homework {
    public static void main(String[] args){

        try (InputStream is = System.in){
            InputStreamReader reader = new InputStreamReader(is);
            BufferedReader br = new BufferedReader(reader);
            String Line = null;
            while (true) {
                Line = br.readLine();
                if (Line == null) break;
                if (Line.equals("exit")) {
                    System.exit(0);
                }
                System.out.println(Line);
            }
        }catch (Exception e){
            throw new RuntimeException(e);
        }
    }
}
